package patterns.createable.builder.computer;

public class Director {

	ComputerBuilder builder;

	public T410 constructT410() {
		builder = new T410Builder();
		builder.buildCPU();
		builder.buildGraphicsCard();
		builder.buildHARDDISK();
		builder.buildMonitor();
		builder.buildOS();
		builder.buildRAM();

		return (T410) builder.getResult();
	}

	public X210 constructorX210() {
		builder = new X210Builder();
		builder.buildCPU();
		builder.buildHARDDISK();
		builder.buildMonitor();
		builder.buildOS();
		builder.buildRAM();
		builder.buildGraphicsCard();
		return (X210) builder.getResult();
	}

}
